package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;
import com.itheima.pojo.Permission;

import java.util.Set;

public interface PermissionDao {
    public Set<Permission> findByRoleId(Integer roleId);
    public Page<Permission> selectByCondition(String queryString);
    public void add(Permission permission);
    public Permission findByPermissionId(Integer permissionId);
    public void delete(Integer permissionId);
    public void update(Permission permission);

}
